package dungeon;


/**
 * A class for signaling an inherently slippery limit violated exception
 * 
 * @author Laurens Vanderstraeten
 */
public class InherentlySlipperyLimitViolatedException extends Exception {

	/**
	 * Initialize this new inherently slippery limit violated exception.
	 */
	public InherentlySlipperyLimitViolatedException(SquareDungeon<?> squareDungeon) {
		this.squareDungeon = squareDungeon;
	}
	
	/**
	 * Return the square dungeon involved in this inherently slippery limit violated exception.
	 */
	public SquareDungeon<?> getSquareDungeon() {
		return squareDungeon;
	}
	
	/**
	 * Variable for registering the square dungeon involved in this inherently slippery limit violated exception.
	 */
	private SquareDungeon<?> squareDungeon;

	private static final long serialVersionUID = -4169907217822714934L;

}
